package com.smallcc.dataobject.dao;

import com.smallcc.dataobject.mapper.ProductCategoryMapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Map;

/**
 * @author 晓风过境
 * @TODO
 * @date 2018/4/4 17:08
 * @day 04
 * @return $text$
 * @title ${CLASS_NAME}
 * @project_name sell
 */
public class ProductCategoryDao {
    @Autowired
    private ProductCategoryMapper mapper;

    public int insert(Map<String ,Object> map){
        return mapper.insertByMap(map);
    }
}
